package com.ifast.sys.base.domain;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <pre>
 * </pre>
 * 
 * <small> 2018年3月23日 | Aron</small>
 */
@TableName("sys_role")
public class RoleDO implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long       id;
	@TableField("role_name")
	private String     roleName;
	@TableField("role_sign")
	private String     roleSign;
	private String     remark;
	@TableField("user_id_create")
	private Long       userIdCreate;
	@TableField("gmt_create")
	private Timestamp  gmtCreate;
	@TableField("gmt_modified")
	private Timestamp  gmtModified;
	@TableField(exist = false)
	private List<Long> menuIds;

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleSign() {
		return roleSign;
	}

	public void setRoleSign(String roleSign) {
		this.roleSign = roleSign;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getUserIdCreate() {
		return userIdCreate;
	}

	public void setUserIdCreate(Long userIdCreate) {
		this.userIdCreate = userIdCreate;
	}

	public Timestamp getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Timestamp gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Timestamp getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Timestamp gmtModified) {
		this.gmtModified = gmtModified;
	}

	public List<Long> getMenuIds() {
		return menuIds;
	}

	public void setMenuIds(List<Long> menuIds) {
		this.menuIds = menuIds;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "RoleDO [id=" + id + ", roleName=" + roleName + ", roleSign=" + roleSign + ", remark=" + remark + ", userIdCreate="
		        + userIdCreate + ", gmtCreate=" + gmtCreate + ", gmtModified=" + gmtModified + ", menuIds=" + menuIds + "]";
	}

}
